package com.pyip.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pyip.reggie.Entity.AddressBook;
import com.pyip.reggie.Entity.Category;
import com.pyip.reggie.common.R;

import java.util.List;

public interface AddressBookService extends IService<AddressBook> {


    R<AddressBook> addAddressBook(AddressBook addressBook);

    R<AddressBook> setDefaultAddressBook(AddressBook addressBook);

    R<AddressBook> getDefault();


    R<List<AddressBook>> getList(AddressBook addressBook);
}
